<script setup>
  import { useUserStore } from "@/stores"
  const userStore = useUserStore()
  const userList = '/admin/user/list'
  const userAdd = '/admin/user/add'
  console.log(import.meta.env.VITE_SERVER_URL)
</script>

<template>
  <div>
    <el-button v-if="userStore.userInfo[userList]">我拥有查看用户的权限</el-button>
    <el-button v-if="userStore.userInfo[userAdd]">我拥有添加用户的权限</el-button>
  </div>
</template>

<style scoped>

</style>